import 'package:flutter/material.dart';
import 'package:moose_app/ui/values/values.dart';

import 'search_history_tag.dart';
import 'search_history_title.dart';

class ATHHistorySearchItem extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      margin: EdgeInsets.only(top: kSize20),
      child: Column(
        children: [
          ATHSearchHistoryTitle(
            text: "历史记录",
            icon: Icons.delete,
          ),
          Container(
            margin: EdgeInsets.only(top: kSize20),
            child: Wrap(
              spacing: kSize8,
              runSpacing: kSize20,
              children: [
                ATHSearchHistoryTag("你吃饭了吗？"),
                ATHSearchHistoryTag("今天你去哪里嗨！"),
                ATHSearchHistoryTag("吃饭不吃菜。"),
                ATHSearchHistoryTag("显示屏4k"),
                ATHSearchHistoryTag("无线鼠标"),
                ATHSearchHistoryTag("显示器"),
              ],
            ),
          )
        ],
      ),
    );
  }
}
